package business.optionForm_Evt;

import javax.swing.JDialog;

import presentation.optionForm_UI.ControlsForm_UI;
import presentation.optionForm_UI.StaticsForm_UI;
import business.playgameForm_Evt.PlaySound;

public class OptionFrom_Evt {

        private PlaySound sound = new PlaySound();
        JDialog dlg;

        public OptionFrom_Evt(JDialog dlg) {
                this.dlg = dlg;
        }

        public void btControls_Evt() {
                new ControlsForm_UI(dlg).setVisible(true);
        }

        public void btStatics_Evt() {
                new StaticsForm_UI(dlg).setVisible(true);
        }

        public void playMouse_Pressed() {
                sound.mousePressed();
        }
}
